package com.mai4j.maiadmin.support.web;

import io.github.mngsk.devicedetector.Detection;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * 微信公众号请关注: 开源螺丝钉
 * <br>
 * 码云请关注: <a href="https://gitee.com/xiyoufang">https://gitee.com/xiyoufang</a>
 * <br>
 * 哔哩哔哩请关注: <a href="https://space.bilibili.com/438927834">https://space.bilibili.com/438927834</a>
 *
 * @author xiyoufang
 */
@Setter
@Getter
@Accessors(chain = true)
public class ClientInfo {
    /**
     * IP地址
     */
    private String ip;
    /**
     * 跳转地址
     */
    private String forwardedIp;
    /**
     * 浏览器标识
     */
    private String userAgent;
    /**
     * acceptLanguage
     */
    private String acceptLanguage;
    /**
     * cookies信息
     */
    private Map<String, String> cookies;
    /**
     * 设备检测
     */
    private Detection device;
}
